package com.heima.cart.conf;

import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * RestTemplate配置
 */
public class RestTemplateConf {

    @Bean
    public RestTemplate restTemplate() {

        return new RestTemplate();

    }

}
